stop

open fun stop()

Stops or pauses the active operation of this control.

This typically involves pausing content playback, animations, or data fetching, and potentially reducing resource consumption. The control should retain its state so it can be resumed by #start().

Calling stop()} on an already stopped control should be a no-op.

Signals the loaded gadget that it should stop or pause its primary operations. This is typically called when the gadget becomes hidden or inactive.

This method attempts to call a JavaScript function RevelDigital.Controller.onStop() within the gadget and also triggers a custom DOM event named "RevelDigital.Stop".